from ftllibs.items.itemtools import ItemIconData

class Item_3086():
    def __init__(self):
        self.parent=False
        self.Name="Zeal"
        self.IconFileName="3086.png"
        self.ID=3086
        self.Stack=0
        self.MaxStack=0
        self.Built_From=['1051','1042']
        self.Builds_Into=['3046','3078']
        self.Tags=['critical_strike','attack_speed','movement']
        self.Costs = 375
        self.Total_Costs = 1195
        self.Description="+20% Attack Speed +10% Critical Strike Chance +6% Movement Speed"
        self.RichText_Description=""
        self.has_active=False
        self.has_passive=False
        self.IconData=ItemIconData(self.IconFileName)
        self.Availability=["all"]
        self.Custom()

    def UpdateStats(self):
        self.parent.Attack_Speed_Percentage += 20.0
        # above is %
        self.parent.Critical_Strike_Chance += 10.0
        # above is %
        self.parent.Movement_Speed += 6.0
        # above is %
        self.UpdateStats_Custom()


    def Custom(self):
        pass

    def UpdateStats_Custom(self):
        pass

